﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace app1_mycalculator
{
    public class OperAdd : BaseOperation, IAdd
    {
        public override double Calculate(double a, double b) => a + b;

        public double Add(double a, double b) => Calculate(a, b);

        /*public override double Calculate(double a, double b)
        {
            return operNum1 + operNum2;
        }*/
    }
}
